﻿using Newtonsoft.Json.Linq;

namespace Xejen.Languages
{
    /// <summary>
    /// 表示语言
    /// </summary>
    /// <creator>marc</creator>
    public interface ILanguage
    {
        /// <summary>
        /// 本地语言名称
        /// </summary>
        string LanguageName { get; }
        /// <summary>
        /// 简写
        /// </summary>
        string LanguageCode { get; }
        /// <summary>
        /// 取指定键的值
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        string this[string key] { get; }
    }
}